package br.affero.core.dao;

import javax.inject.Inject;
import javax.inject.Named;
import javax.persistence.EntityManager;

@Named("dataAccess")
public class DataAccess 
{
	/*@ExtensionManaged
	@Produces
	@PersistenceContext(unitName = "tutorialpu") 
	private EntityManager em;*/
	
	@Inject EntityManager em;
	
	public EntityManager getEntityManager()
	{
		return em;
	}
}
